import React from 'react';
import { connect } from 'react-redux';
import LeavingMessage from '../components/Home/details/LeavingMessage';

class LeavingMessageContainer extends React.Component {
  render() {
    return (
      <LeavingMessage {...this.props} />
    );
  }
}

export default connect((state) => {
  const { moreVoices } = state.MyCustomerDetailReducer;
  return {
    moreVoices,
  };
})(LeavingMessageContainer);
